package com.ruoyi.common.core.domain.order.vo;

import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 订单详情VO，用于扁平化查询结果
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OrderDetailVo extends BaseEntity {
    private Long id;
    private String userId;
    private String employeeId;
    private String serviceContent; // From take_orders_info (though not in the current select, it's part of TakeOrdersInfo)
    private Long serviceType; // From take_orders_info (though not in the current select, it's part of TakeOrdersInfo)
    private String homeTime;
    private String workTime;
    private BigDecimal priceRangeMin;
    private BigDecimal priceRangeMax;
    private String addressId;
    private String requirements;
    private String notes;
    private String orderNo; // From take_orders_info (though not in the current select, it's part of TakeOrdersInfo)
    private Long status; // From take_orders_info (though not in the current select, it's part of TakeOrdersInfo)
    private String userRequirement;
    private String serviceName; // Corresponds to t2.name AS service_name
    private String skillNames; // Corresponds to GROUP_CONCAT(t3.take_skill SEPARATOR ', ') AS skill_names
    private String employeeName; // 员工姓名
    private String username;     // 用户姓名
    private String phone;        // 用户电话
    private String fullAddress;  // 完整地址
} 